<template>
	<view>
		<view style="width: 100vw;height: 100vh;">
			<video style="width: 100%;height: 100%;"
				id="myVideo"
				src="http://anhui.hichain.com/WebAPI/vedio/jxsp.mp4"
				@error="videoErrorCallback"
				controls
				autoplay
				loop
			></video>
		</view>
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},
	methods: {
		 videoErrorCallback: function(e) {
		            uni.showModal({
		                content: e.target.errMsg,
		                showCancel: false
		            })
		        },
		
	}
};
</script>

<style></style>
